package com.ba.pojo;

public class Card {
    private String pattern; // 花色
    private String str_num; // 类型
    private Integer t_size; // 大小

    public Card(String pattern, String str_num, Integer t_size) {
        this.pattern = pattern;
        this.str_num = str_num;
        this.t_size = t_size;
    }

    public String getPattern() {
        return pattern;
    }

    public void setPattern(String pattern) {
        this.pattern = pattern;
    }

    public String getStr_num() {
        return str_num;
    }

    public void setStr_num(String str_num) {
        this.str_num = str_num;
    }

    public Integer getT_size() {
        return t_size;
    }

    public void setT_size(Integer t_size) {
        this.t_size = t_size;
    }

    @Override
    public String toString() {
        return this.pattern+this.str_num;
    }
}
